-
Notifications
You must be signed in to change notification settings - Fork 95
Manual input identification for SSRF #1290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
core/src/main/kotlin/org/evomaster/core/problem/security/service/SSRFAnalyser.kt
Outdated
Show resolved
Hide resolved
core/src/main/kotlin/org/evomaster/core/problem/security/service/SSRFAnalyser.kt
Outdated
Show resolved
Hide resolved
core/src/main/kotlin/org/evomaster/core/problem/security/service/SSRFAnalyser.kt
Outdated
Show resolved
Hide resolved
core/src/main/kotlin/org/evomaster/core/problem/security/service/SSRFAnalyser.kt
Outdated
Show resolved
Hide resolved
httpCallbackVerifier.isCallbackURL(gene.getValueAsRawString()) | ||
} | ||
|
||
if (hasCallBackURL) { | ||
// FIXME: When the code reaches this point during SSRF phase |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @arcuri82,
I can see the code reach the AbstractRestFitness during the SSRF detection phase. However, WireMock seems to be null at this point although it was initiated earlier. I'm not sure why this is happening, need your assistance to debug this further.
@@ -75,7 +80,9 @@ class HttpCallbackVerifier { | |||
* Method generates a unique callback link to be used as payload for SSRF. | |||
*/ | |||
fun generateCallbackLink(name: String): String { | |||
val ssrfPath = "/sink/${counter++}" | |||
// FIXME: sink/EM_0 <- slash get replaced with a comma at some point, which fails |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was a problem too, for some reason slash after sink get replaced with a comma when recomputing the fitness.
No description provided.